package com.jjh.service;

import com.jjh.pojo.User;
import com.jjh.util.UserThreadLocal;
import com.jjh.wrapper.QueryWrapper;

/**
 * 用户功能接口
 * @author JJH
 */
public interface UserSerice {

    boolean login();

    boolean register();

    String getAddress(int id);

    User getUser(QueryWrapper wrapper);

    boolean updateOne(User user);
}
